package org.py.mymodule.submodule.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.sql.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2024-08-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("journal")
@ApiModel(value="Journal对象", description="")
public class Journal {
    private static final long serialVersionUID = 1L;

    @TableId(value = "journal_pk", type = IdType.AUTO)
    private Integer journalId;

    private String loggerName;

    private String contents;

    private Date logDate;
}
